package com;

import org.junit.Test;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by webrx on 2017-09-05.
 */
public class T {

    @Test
    public void abc(){
        Date d = new Date();
        d.setTime(1504602838384l);
        System.out.println(new SimpleDateFormat("yyyy-MM-dd hh:mm:ss").format(d));
    }
}
